--------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  X:\shared\ambulance\Work\replicationpackage\logs\imputation_estimator.log
  log type:  text
 opened on:  13 Jul 2024, 12:07:18

. 
. /*******************************************************************************
> imputation_estimator.do
> 
> Analyzes district-level data using the imputation estimator
> *******************************************************************************/
. 
. clear all

. 
. qui {

. event_plot, together graph_opt( ///
>         xti(Months Since First Civil Enforcement) xlab(-24(6)24) ///
>         yti("`: variable label log_tot_pmt'") ///
>         ylab(`labn1' "-1.0" `labn5' "-0.5" `lab0' "0" ///
>                 `lab5' "0.5" `lab1' "1.0", angle(0)) ///
>         xline(0, lcolor(gs8) lpattern(dash)) yline(`lab0', lcolor(gs8)) ///
>         graphregion(color(white)) bgcolor(white)) ///
>         lag_opt(color(navy)) lag_ci_opt(recast(rcap) color(navy navy))

. qui graph export ${outpath}Figure_A6c.pdf, ///
>         as(pdf) replace // Figure A6c

. 
. qui {

. 
. event_plot, together graph_opt( ///
>         xti(Months Since First Criminal Enforcement) xlab(-24(6)24) ///
>         yti("`: variable label log_tot_pmt'") ///
>         ylab(`labn15' "-1.5" `labn1' "-1.0" `labn5' "-0.5" `lab0' "0" ///
>                 `lab5' "0.5" `lab1' "1.0" `lab15' "1.5", angle(0)) ///
>         xline(0, lcolor(gs8) lpattern(dash)) yline(`lab0', lcolor(gs8)) ///
>         graphregion(color(white)) bgcolor(white)) ///
>         lag_opt(color(navy)) lag_ci_opt(recast(rcap) color(navy navy))

. qui graph export ${outpath}Figure_A6d.pdf, as(pdf) replace // Figure A6d

. 
. qui {

. 
. event_plot, together graph_opt( ///
>         xti(Months Since Prior Authorization Implementation) xlab(-24(6)24) ///
>         yti("`: variable label log_tot_pmt'") ///
>         ylab(`labn15' "-3" `labn1' "-2" ///
>                 `labn5' "-1" `lab0' "0" `lab5' "1", angle(0)) ///
>         xline(0, lcolor(gs8) lpattern(dash)) yline(`lab0', lcolor(gs8)) ///
>         graphregion(color(white)) bgcolor(white)) ///
>         lag_opt(color(navy)) lag_ci_opt(recast(rcap) color(navy navy))

. qui graph export ${outpath}Figure_A6a.pdf, as(pdf) replace // Figure A6a

. 
. qui {

. 
. event_plot, together graph_opt( ///
>         xti(Months Since Prior Authorization Implementation) xlab(-24(6)24) ///
>         yti("`: variable label log_active_firms'") ///
>         ylab(`labn6' "-0.6" `labn4' "-0.4" ///
>                 `labn2' "-0.2" `lab0' "0" `lab2' "0.2", angle(0)) ///
>         xline(0, lcolor(gs8) lpattern(dash)) yline(`lab0', lcolor(gs8)) ///
>         graphregion(color(white)) bgcolor(white)) ///
>         lag_opt(color(navy)) lag_ci_opt(recast(rcap) color(navy navy))

. qui graph export ${outpath}Figure_A6b.pdf, as(pdf) replace // Figure A6b

. 
. qui {

. 
. log close
      name:  <unnamed>
       log:  X:\shared\ambulance\Work\replicationpackage\logs\imputation_estimator.log
  log type:  text
 closed on:  13 Jul 2024, 12:25:40
--------------------------------------------------------------------------------------------------------------------------------------------------------
